projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0a1364
)
ppc4xx: Remove compilation warning "pci_async_enabled defined but not used"
author
Stefan Roese
<
[email protected]
>
Mon, 6 Jul 2009 09:44:33 +0000
(11:44 +0200)
committer
Stefan Roese
<
[email protected]
>
Wed, 8 Jul 2009 08:59:07 +0000
(10:59 +0200)
Signed-off-by: Stefan Roese <
[email protected]
>
cpu/ppc4xx/cpu.c
patch
|
blob
|
history
diff --git
a/cpu/ppc4xx/cpu.c
b/cpu/ppc4xx/cpu.c
index 06f44ad376fb7931e897f5562d30cd963314dd96..fb3837c3df7befa480a7fc2ad30b180e41c49019 100644
(file)
--- a/
cpu/ppc4xx/cpu.c
+++ b/
cpu/ppc4xx/cpu.c
@@
-54,6
+54,7
@@
int __get_cpu_num(void)
}
int get_cpu_num(void) __attribute__((weak, alias("__get_cpu_num")));
+#if defined(CONFIG_PCI)
#if defined(CONFIG_405GP) || \
defined(CONFIG_440EP) || defined(CONFIG_440GR) || \
defined(CONFIG_440EPX) || defined(CONFIG_440GRX)
@@
-76,6
+77,7
@@
static int pci_async_enabled(void)
#endif
}
#endif
+#endif /* CONFIG_PCI */
#if defined(CONFIG_PCI) && !defined(CONFIG_IOP480) && \
!defined(CONFIG_405) && !defined(CONFIG_405EX)